home *** CD-ROM | disk | FTP | other *** search
- On 08-Oct-97, Matt Ward wrote:
- >Hi everyone, still there?
-
- Hi Matt
-
- >In Amospro how do you enter arguments for something you want to
- >execute?
- >ie
- >CLI: viewtek df0:mypicture.iff
- >AMP: Exec "viewtek" ?????????
-
- I had the same problem a few months ago. It seems you are better off
- using the full path for executing. Like :
-
- Exec "c:ViewTek Work:pics/test.iff"
-
- >I`ve tried Commandline$, adding text in the quotes, reading the manual
- >(no help!). Any ideas??
-
- '
- ' TEST STRING
- '
- A$="c:viewtek dh0:pics/test.iff"
- '
- ' Search for space
- '
- For POS=0 To Len(A$)
- If Mid$(A$,POS,1)=Chr$(32) Then Exit
- Next POS
- '
- ' Sort out command line
- '
- COMMAND$=Left$(A$,POS-1)
- PAR$=Mid$(A$,POS+1,Len(A$)-POS)
- '
- ' Print Results
- '
- Print "Command: ";COMMAND$
- Print "Parameter: ";PAR$
-
- >Keep Amosing!!
-
- I will :)
-
- --
- ÷ _ ____ ÷ ____`------------------------------------------°
- /.\ ÷ / __/ / __,\ *http://www.talk-101.com/users/asp*
- ,_/ ¡_\_ _/__ \_ / ___/ O°····································°O
- ,_____/ Y_ Y_ ¡ · o #Monty The Wolf - OUT VERY SOON# o
- | ¡ [ ] | [ ] | -÷- Oo.....................................O
- : : *DESIGN* : : ·
-
-
-
-